<?php
session_start();
/*include("admin/include/class.function.php");
include("admin/include/class.mysqldb.php");
include("admin/include/config.inc.php");*/

error_reporting (E_ALL ^ E_NOTICE);	
foreach($_REQUEST as $key => $value)  {
	$$key = $value;
	#echo $key ."=". $value."<br>";
}


?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="Description" CONTENT="ศูนย์การเรียนรู้ภาษาอังกฤษกองบิน 41">
    <title>English Center Wing 41</title>
    <meta name="robots" content="noindex,nofollow">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="กองบิน 41, wing 41, ศูนย์การเรียนรู้ภาษาอังกฤษกองบิน 41, ศูนย์การเรียนรู้, engwing41, english center wing 41" />
    <link rel="shortcut icon" href="/favicon.ico" />
	<meta name="stats-in-th" content="6382" />
    <!--ศูนย์การเรียนรู้กองบิน 41 -->

    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css"/>
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.css"/>
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/style.css">

    
    <script type="text/javascript" src="js/jquery-1.11.0.js"></script>
    <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>    
    <script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="bootstrap/js/carousel.js"></script>
    
  	<script type="text/javascript">
	$(document).ready(function () {
		$('.carousel').carousel({});
	});
	</script>
	
    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]><script src="http://getbootstrap.com/examples/justified-nav/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>
  <body>
  	
  	<div class="row" style="background:#0067B0;">    
        <div class="container" style="background:#0067B0;">          
            <div class="row">
              <div class="col-md-6" style="padding-top:10px; padding-bottom:10px;">
                <img src="images/logo_web.png" width="200" height="120"></div>         
              <div class="col-md-6" align="right">      	
                <div class="row" align="right">
                  <form class="form-inline" role="form">
                      <div class="form-group">
                        <label class="sr-only" for="exampleInputEmail2">Email address</label>
                        <input type="email" class="form-control input-sm" id="exampleInputEmail2" placeholder="Enter email">
                      </div>
                      <div class="form-group">
                        <label class="sr-only" for="exampleInputPassword2">Password</label>
                        <input type="password" class="form-control input-sm" id="exampleInputPassword2" placeholder="Password">
                      </div>
                      <!--<div class="checkbox">
                        <label>
                          <input type="checkbox"> Remember me
                        </label>
                      </div> -->
                      <button type="submit" class="btn btn-default btn-sm">Sign in</button>
                    </form>
                  </div>
                  
                  <!-- Menu -->
                  <?php include ('modules/mod_menu/index_menu.php');?>           
              </div>          
            </div> <!-- row -->
        </div> <!-- container -->
    </div> <!-- row -->
    
 	
    <!-- body page -->
    <div style="background-color:#ebebeb;">
    <?php

	switch ($p) {
		case 'home':
			include ('modules/mod_home/index_home.php');
			break;
		case 'vocab':
			include ('modules/mod_vocabulary/index_vocabulary.php');
			break;
		case 'grammar':
			include ('modules/mod_grammar/index_grammar.php');
			break;
		case 'contact':
			include ('modules/mod_contact/index_contact.php');
			break;
		default:
			include ('modules/mod_home/index_home.php');
	}
    
	?>
    </div>
   
    	
    
    <!-- Footer -->
    <?php include('modules/mod_footer/index_footer.php'); ?>
    
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>